package com.ct.deadlockdetetor.domain.allocation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("tb_resource_allocation")
public class ResourceAllocation {

    @TableId(type = IdType.AUTO)
    private Integer resourceAllocationId;

    /**
     * 资源id
     */
    private Integer resourceId;

    /**
     * 进程id
     */
    private Integer processId;

    /**
     * 分配的实例数
     */
    private Integer allocationInstances;
}
